package gamecenter.gc.controller;

import gamecenter.gc.bean.Game_Center;
import gamecenter.gc.service.Game_Center_Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Game_Center_Controller {
    @Autowired
    private Game_Center_Service game_center_service;

    @RequestMapping(value = "game_center", method = RequestMethod.GET)
    public List<Game_Center> get_Game_Center() {
        return game_center_service.get_Game_Center();
    }


}
